YAYDP\Core\YAYDP_Cart_Discount_Manager B

Total Complexity 77
Dependencies 6
Dependents 1
Total lines 438
Lines of code 273
Logical lines of code 161
Comment lines 118
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
calculate_pricings()
A
45 10 41
before_checkout_process()
A
53 8 21
change_coupon_html()
S
46 6 40
get_shop_coupon_data()
S
54 7 20
checkout_order_processed()
S
57 7 15
after_payment_successful()
S
56 6 17
change_coupon_label()
S
57 5 16
remove_all_yaydp_discounts()
S
58 5 15
change_coupon_error()
S
59 5 13
change_coupon_message()
S
59 5 13
checkout_no_payment_needed_redirect()
S
59 4 14
get_available_rules()
S
62 2 13
get_all_rules()
S
72 2 5
__construct()
S
57 1 15
initialize()
S
80 1 3
get_combined_adjustment()
S
69 1 7
after_calculate_pricings()
S
91 1 2
before_calculate_pricings()
S
82 1 3